//
//  DSDeviceInfoInputTableViewCell.m
//  RONGAO
//
//  Created by ZhangYeKun on 2017/2/24.
//  Copyright © 2017年 wei wang. All rights reserved.
//

#import "DSDeviceInfoInputTableViewCell.h"

@implementation DSDeviceInfoInputTableViewCell

- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
}


- (void)setInputTextField:(UITextField *)inputTextField{
    
    _inputTextField = inputTextField;
    _inputTextField.delegate = self;
    
}


- (void)textFieldDidEndEditing:(UITextField *)textField{
    
    
    if (self.textFielfEnd_block) {
        self.textFielfEnd_block(textField.text);
    }
    
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
